package com.yilin.medical.lsh;

public class BaseResult<T> extends BaseBean {

	private static final long serialVersionUID = -407669930162948015L;
	private int code;
	private String text;
	public static String SessionID;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getSessionID() {
		return SessionID;
	}

	public void setSessionID(String sessionID) {
		SessionID = sessionID;
	}

	public SimpleException getSimpleException() {
		return simpleException;
	}

	public void setSimpleException(SimpleException simpleException) {
		this.simpleException = simpleException;
	}

	private T data;

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "BaseResult [data=" + data + "]";
	}

}
